package com.sc.pojo;

import lombok.Data;
import lombok.ToString;

/**
 * @description: 用户
 * @author: sc
 * @create: 2023-01-02 16:43
 **/
@Data
@ToString
public class User {
          private String  userid ;
          private String  username;
          private String  password;
          private String  sex;
          private String  phone;

    public User() {
    }

    public User(String userid, String username, String password, String sex, String phone) {
        this.userid = userid;
        this.username = username;
        this.password = password;
        this.sex = sex;
        this.phone = phone;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "User{" +
                "userid='" + userid + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}